<template>
    <div class="footer">
      <div class="text">
        <span>发起下一个活动吧！</span>
      </div>
      <div class="button">
        <el-button @click="newEvent">开始</el-button>
      </div>
    </div>
</template>

<script>


export default {
  name:'ListFooter',
  methods: {
    newEvent() {
      this.$router.push({
        name:'Detail'
      })
    }
  },

}
</script>

<style scoped>
.footer{

  width: 100%;
  height: 10%;
  position: fixed;
  margin-top: 49.34%;

  background-color: black;
}

.text{
  color: white;
  float: left;
  margin-top: 1.3%;
  margin-left: 20%;

  font-size: 25px;
  font-weight: 600;
}

.el-button{
  border: 2px solid white;
  background-color: black;

  color: white;
  font-weight: 600;
  font-size: 18px;

  width: 7%;

  margin-top: 1.1%;
  margin-left: 10%;
}
</style>
